home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / RadioactiveSnakesFromMa.swf / scripts / DefineButton2_100 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-06-20  |  746 b   |  23 lines

  1. on(release){
  2.    if(_root.gooddomain == 1)
  3.    {
  4.       _root.player[_root.setup].colors = 6;
  5.       mycol1 = new Color(p1.a1);
  6.       mycol2 = new Color(p1.a1);
  7.       mycol3 = new Color(p1.u1);
  8.       mycol4 = new Color(p1.h1);
  9.       mycol5 = new Color(p1.h1);
  10.       mycol6 = new Color(p1.u1);
  11.       _root.player[_root.setup].fill[1] = mycol1.getTransform();
  12.       _root.player[_root.setup].fill[2] = mycol2.getTransform();
  13.       _root.player[_root.setup].fill[3] = mycol3.getTransform();
  14.       _root.player[_root.setup].fill[4] = mycol4.getTransform();
  15.       _root.player[_root.setup].fill[5] = mycol5.getTransform();
  16.       _root.player[_root.setup].fill[6] = mycol6.getTransform();
  17.    }
  18.    else
  19.    {
  20.       share.play();
  21.    }
  22. }
  23.